/*!
 * KAPlayer.css
 */
/** Player **/
#player {
    position: relative;
    cursor: default;
    font-family: Arial, "新宋体", sans-serif, "宋体";
    font-size: 12px;
}
#player object {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}
#player div {
    position: relative;
}
#player div span {
    display: inline-block;
}
#player input[type="checkbox"] {
    vertical-align: middle;
}

/** Player Info **/
#player div.info {
    width: 332px;
    height: 25px;
    line-height: 25px;
    color: #ffffff;
    background: url(../imgs/bgound.png) no-repeat;
}
#player div #start {
    width: 30px;
    padding: 0 4px;
    overflow: hidden;
}
#player div #info {
    display: inline-block;
    width: 248px;
    height: 25px;
    margin: 0;
    overflow: hidden;
    text-align: center;
}
#player div #info span {
    white-space: nowrap;
}
#player div #end {
    width: 30px;
    padding: 0 4px;
    overflow: hidden;
}

/** Player Progress **/
#player #progress-range {
    width: 332px;
    height: 6px;
    cursor: pointer;
    background: url(../imgs/bgound.png) 0 -25px no-repeat;
}
#player #progress-range #progress-bar {
    position: absolute;
    top: -1px;
    left: 0;
    width: 10px;
    height: 8px;
    z-index: 100;
    cursor: pointer;
    background: url(../imgs/ball.png) no-repeat;
}
#player #progress-range #progress-route {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 6px;
    z-index: 90;
    background: url(../imgs/route.png) no-repeat;
}

/** Player Button **/
#player div.button {
    width: 332px;
    height: 52px;
    background: url(../imgs/bgound.png) 0 -31px no-repeat;
}
#player div #play-pause {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-image: url(../imgs/play-pause.png);
}
#player div .play-pause {
    background-position: 0 -35px;
}
#player div .play {
    background-position: -35px 0;
}
#player div .pause {
    background-position: -35px -35px;
}
#player div #stop {
    position: absolute;
    top: 13px;
    left: 55px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    background-image: url(../imgs/stop.png);
}
#player div .stop {
    background-position: -28px 0;
}
#player div #previous-next {
    position: absolute;
    top: 13px;
    left: 95px;
    display: inline-block;
    width: 130px;
    height: 25px;
    cursor: pointer;
    background-image: url(../imgs/previous-next.png);
}
#player div .previous-next {
    color: #ffffff;
}
#player div .previous {
    background-position: 0 -25px;
}
#player div .next {
    background-position: 0 -50px;
}
#player div #previous {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 25px;
    padding-left: 25px;
    line-height: 25px;
}
#player div #next {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 25px;
    padding-right: 25px;
    text-align: right;
    line-height: 25px;
}
#player div #sound {
    position: absolute;
    top: 0;
    right: 15px;
    width: 80px;
}
#player div #minus {
    position: absolute;
    top: 15px;
    left: 1px;
    width: 14px;
    height: 10px;
    cursor: pointer;
    background: url(../imgs/volume.png) no-repeat;
}
#player div #minus.minus {
    background-position: 0 -10px;
}
#player div .volume {
    position: absolute;
    top: 14px;
    right: 30px;
}
#player div #add {
    position: absolute;
    top: 15px;
    right: 1px;
    width: 14px;
    height: 10px;
    cursor: pointer;
    background: url(../imgs/volume.png) 0 -20px no-repeat;
}
#player div #add.add {
    background-position: 0 -30px;
}
#player div #volume-range {
    position: absolute;
    top: 32px;
    left: 0;
    width: 80px;
    height: 6px;
    cursor: pointer;
}
#player div #volume-bar {
    position: absolute;
    top: -1px;
    left: 0;
    width: 8px;
    height: 8px;
    cursor: pointer;
    z-index: 100;
    background: url(../imgs/ball.png) -10px 0 no-repeat;
}
#player div #volume-route {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: url(../imgs/route.png) 0 -6px no-repeat;
}

/** Layout **/
#player .layout {
    width: 322px;
    height: 468px;
    padding: 4px 4px 0 4px;
    border-style: solid;
    border-color: #8cb6e4;
    border-width: 0 1px 1px 1px;
    background-color: #edf8fe;
}
#player .layout .tab {
    position: absolute;
    top: 4px;
    left: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 100;
}
#player .layout .tab li {
    float: left;
    width: 88px;
    height: 27px;
    margin-right: 4px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
    background: url(../imgs/tab.png) no-repeat;
}
#player .layout .tab li.hover {
    font-weight: bold;
    background-position: 0 -27px;
}
/* Playlist
------------------------------ */
#player .layout .playlist {
    display: none;
    width: 320px;
    height: 378px;
    margin-top: 26px;
    border: solid 1px #8cb6e4;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #ffffff;
    scrollbar-face-color: #ffffff;
    scrollbar-shadow-color: #b7d8f2;
    scrollbar-highlight-color: #b7d8f2;
    scrollbar-3dlight-color: #ffffff;
    scrollbar-darkshadow-color: #ffffff;
    scrollbar-track-color: #ffffff;
    scrollbar-arrow-color: #b7d8f2;
}
#player .layout div.hover {
    display: block;
}
#player .layout .playlist table {
    width: 310px;
    table-layout: fixed;
    border-collapse: collapse;
}
#player .layout .playlist table tr.hover {
    background-color: #eef9fe;
}
#player .layout .playlist table tr.play {
    height: 40px;
    line-height: 40px;
    background-color: #f7ffcd;
}
#player .layout .playlist table td {
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* Action
------------------------------ */
#player .layout .action {
    width: 320px;
    height: 20px;
    line-height: 20px;
    padding: 5px 0;
    border-style: solid;
    border-color: #8cb6e4;
    border-width: 0 1px 1px 1px;
}
#player .layout .action span {
    float: right;
    width: 30px;
    height: 20px;
    padding-left: 18px;
    margin-right: 5px;
    color: #ffffff;
    cursor: pointer;
    background-image: url(../imgs/action.png);
}
#player .layout #all {
    margin: 0 0 0 4px;
    padding: 0;
    cursor: pointer;
}
#player .layout #remove {
    background-position: 0 0;
}
#player .layout #append {
    background-position: 0 -20px;
}
/* Mode
------------------------------ */
#player .layout .mode {
    text-align: right;
    height: 20px;
    padding: 5px 0;
}
#player .layout .mode .sort{
    width: 48px;
    height: 21px;
    line-height: 21px;
    margin: 0;
    padding-right: 8px;
    cursor: pointer;
    background-image: url(../imgs/mode.png);
}
#player .layout #order {
    background-position: -56px 0;
}
#player .layout #order.hover {
    background-position: 0 0;
}
#player .layout #random {
    background-position: -56px -21px;
}
#player .layout #random.hover {
    background-position: 0 -21px;
}
#player .layout #cycle {
    background-position: -56px -42px;
}
#player .layout #cycle.hover {
    background-position: 0 -42px;
}

/** Append **/
#player .append {
    display: none;
    position: absolute;
    top: 150px;
    left: 15px;
    width: 300px;
    z-index: 100;
    border: solid 1px #8cb6e4;
}
#player .append .title {
    position: relative;
    height: 25px;
    line-height: 25px;
    background-color: #d6e6f7;
}
#player .append .title span {
    color: #000000;
    font-weight: bold;
    text-indent: 0.5em;
}
#player .append .title a, #player .append .title a:visited {
    position: absolute;
    top: 5px;
    right: 5px;
    display: inline-block;
    float: right;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    text-decoration: none;
    border: solid 1px #d6e6f7;
    color: #1a74d1;
}
#player .append .title a:hover {
    color: #ff0000;
    border-color: #8cb6e4;
    background-color: #edf8fe;
}
#player .append table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
}
#player .append table td {
    height: 35px;
    line-height: 35px;
    text-indent: 0.5em;
}
#player .append table input.text {
    width: 200px;
}
#player .append table td span {
    display: inline-block;
    width: 48px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    text-indent: 0;
    color: #ffffff;
    cursor: pointer;
    background: url(../imgs/action.png) 0 -40px no-repeat;
}
